﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UserCenter.Models;

namespace UserCenter.Api.Core
{
    public class SmsResult
    {
        public bool Success { get; set; }
        public string Message { get; set; }

        public string QueryId { get; set; }

        public SmsResult() { }

        public SmsResult(bool success,string queryId, string message)
        {
            Success = success;
            Message = message;
            QueryId = queryId;
        }
    }

   

    public interface ISmsSender
    {
        SmsResult Send(SmsType type, string phone, string code);
    }
}
